<?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php $this->need('header.php'); ?>

<div class="container" id="main">
  <div class="row">
    <div class="col-md-9" role="main">
      <div class="panel">
        <div class="panel-body">
          <h3 class="post-title"><a href="<?php $this->permalink() ?>"><?php $this->title() ?></a></h3>
          <div class="post-meta">
            <span><?php _e('作者: '); ?><a href="<?php $this->author->permalink(); ?>"><?php $this->author(); ?></a> | </span>
            <span><?php _e('时间: '); ?><?php $this->date('F j, Y'); ?> | </span>
            <span><?php _e('分类: '); ?><?php $this->category(','); ?> | </span>
            <span><a href="<?php $this->permalink() ?>#comments"><?php $this->commentsNum('评论', '1 条评论', '%d 条评论'); ?></a></span>
          </div>
          <div class="post-content"><?php $this->content(); ?></div>
        </div>
      </div>
      <p class="tags"><?php _e('标签: '); ?>
        <?php tags($this) ?>
      </p>
      <hr>
      <div class="row">
        <?php $this->need('comments.php'); ?>
      </div>
    </div>
    <!-- end #col-md-8 -->
    <div class="col-md-3">
      <?php $this->need('sidebar.php'); ?>
    </div>
  </div>
</div>
<?php $this->need('footer.php'); ?>
